html {
  font-size: 50px;
}
a {
  text-decoration: none;
}
@media screen and (min-width: 320px) {
  html {
    font-size: 21.33333333px;
  }
}
@media screen and (min-width: 360px) {
  html {
    font-size: 24px;
  }
}
@media screen and (min-width: 375px) {
  html {
    font-size: 25px;
  }
}
@media screen and (min-width: 384px) {
  html {
    font-size: 25.6px;
  }
}
@media screen and (min-width: 400px) {
  html {
    font-size: 26.66666667px;
  }
}
@media screen and (min-width: 414px) {
  html {
    font-size: 27.6px;
  }
}
@media screen and (min-width: 424px) {
  html {
    font-size: 28.26666667px;
  }
}
@media screen and (min-width: 480px) {
  html {
    font-size: 32px;
  }
}
@media screen and (min-width: 540px) {
  html {
    font-size: 36px;
  }
}
@media screen and (min-width: 720px) {
  html {
    font-size: 48px;
  }
}
@media screen and (min-width: 750px) {
  html {
    font-size: 50px;
  }
}
body {
  min-width: 320px;
  width: 15rem;
  margin: 0 auto;
  line-height: 1.5;
  font-family: Arial, Helvetica, STHeiTi, sans-serif;
  background: #f2f2f2;
}
.search_content {
  position: relative;
  display: flex;
  width: 15rem;
  height: 1.76rem;
  background-color: #8bd5fc;
}
.search_content .search {
  width: 13.64rem;
  height: 1.76rem;
  line-height: 2.2rem;
  margin: 0 auto;
}
.search_content .search .classify {
  float: left;
  width: 0.72rem;
  height: 1.2rem;
}
.search_content .search .classify img {
  width: 0.72rem;
  background-size: 0.72rem;
}
.search_content .search > img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 7.8rem;
  background-size: 7.8rem;
}
.search_content .search .login {
  float: right;
  width: 0.72rem;
  height: 1.2rem;
}
.search_content .search .login img {
  width: 0.72rem;
  background-size: 0.72rem;
}
.input_search {
  display: block;
  width: 15rem;
  height: 1.76rem;
  background-color: #8bd5fc;
  position: relative;
}
.input_search::before {
  display: block;
  content: "";
  position: absolute;
  top: 0.18rem;
  left: 1.1rem;
  width: 0.72rem;
  height: 0.72rem;
  background-color: pink;
  background: url(../images/fangdajing.png) no-repeat;
  background-size: 0.72rem;
  z-index: 1;
}
.input_search a input {
  outline: none;
  position: absolute;
  top: 0;
  left: 50%;
  width: 90%;
  line-height: 1rem;
  padding-left: 1.5rem;
  transform: translateX(-50%);
  border: 0;
  border-radius: 0.88rem;
  font-size: 0.5rem;
  color: #646464;
}
.banner {
  width: 15rem;
  height: 7.36rem;
  border-radius: 0.4rem;
  overflow: hidden;
}
.banner img {
  width: 100%;
  height: 100%;
}
nav {
  width: 15rem;
}
nav a {
  float: left;
  width: 3rem;
  height: 2.84rem;
  text-align: center;
}
nav a img {
  display: block;
  width: 1.68rem;
  margin: 0.2rem auto 0;
}
nav a span {
  display: block;
  font-size: 0.5rem;
  color: #333;
}
.gg {
  width: 15rem;
}
.gg a:nth-child(1) {
  float: left;
  width: 50%;
}
.gg a:nth-child(1) img {
  width: 7.48rem;
  height: 4.68rem;
}
.gg a:nth-child(2),
.gg a:nth-child(3) {
  float: left;
  width: 25%;
}
.gg a:nth-child(2) img,
.gg a:nth-child(3) img {
  width: 3.72rem;
  height: 4.68rem;
}
.xihuan {
  width: 15rem;
}
.xihuan img {
  width: 100%;
}
.chanpin {
  width: 15rem;
}
.chanpin ul {
  list-style: none;
  box-sizing: border-box;
}
.chanpin ul li {
  float: left;
  width: 50%;
  vertical-align: top;
  background-color: #fff;
  text-align: center;
}
.chanpin ul li img {
  width: 6.84rem;
  height: 6.84rem;
}
.chanpin ul li p {
  font-size: 0.5rem;
  font-weight: 700;
  margin: 0.36rem 0.24rem 0;
  width: 6.34rem;
  height: 1.34rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}
.chanpin ul li .ziying {
  position: relative;
  display: block;
  width: 5.34rem;
  height: 0.48rem;
  margin: 11px 12px 24px;
}
.chanpin ul li .ziying img {
  float: left;
  width: 0.96rem;
  height: 0.48rem;
  background-size: 0.96rem 0.48rem;
  vertical-align: middle;
}
.chanpin ul li .ziying span {
  position: absolute;
  top: 0;
  left: 20%;
  font-size: 0.24rem;
  border: 1px solid #ffcc00;
  border-radius: 0.2rem;
  padding: 0 12px;
}
.chanpin ul li .jiage {
  width: 6.6rem;
  height: 0.76rem;
  font-size: 0.28rem;
  color: #ccc;
  text-align: left;
  padding-left: 0.2rem;
}
.chanpin ul li .jiage span {
  font-size: 0.5rem;
  color: red;
  font-weight: 700;
}
